/******************************************************************************
 *  Copyright (C) Cambridge Silicon Radio Limited 2015
 *
 *  This software is provided to the customer for evaluation
 *  purposes only and, as such early feedback on performance and operation
 *  is anticipated. The software source code is subject to change and
 *  not intended for production. Use of developmental release software is
 *  at the user's own risk. This software is provided "as is," and CSR
 *  cautions users to determine for themselves the suitability of using the
 *  beta release version of this software. CSR makes no warranty or
 *  representation whatsoever of merchantability or fitness of the product
 *  for any particular purpose or use. In no event shall CSR be liable for
 *  any consequential, incidental or special damages whatsoever arising out
 *  of the use of or inability to use this software, even if the user has
 *  advised CSR of the possibility of such damages.
 *
 ******************************************************************************/

package com.csr.gaiacontrol.views;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;

import com.csr.gaiacontrol.R;

/**
 * This class allows to define the view for an item on a RecyclerView.
 */
public class InformationViewHolder extends RecyclerView.ViewHolder {
    /**
     * The text views to display information from a device.
     */
    public final TextView mTVInformationName, mTVInformationValue;

    /**
     * The constructor of this class to build this view.
     * @param v
     *          The inflated layout for this view.
     */
    public InformationViewHolder(View v) {
        super(v);
        mTVInformationName = (TextView) v.findViewById(R.id.tv_information_name);
        mTVInformationValue = (TextView) v.findViewById(R.id.tv_information_value);
    }
}